import java.util.ArrayList;

/*
 * CourseList is a collection of Course objects and includes methods that deal
 * with modifying and accessing multiple Course objects that the user has.
 */

public class CourseList 
{
	private ArrayList<Course> myCourses;
	
	public CourseList()
	{
		// Create 5 empty courses to be filled in later.
		myCourses = new ArrayList();
	}

	// Adds a new course
	public Course addCourse(int courseID, String name, Teacher teacher)
	{
		Course newCourse = new Course(courseID, name, teacher);
		myCourses.add(newCourse);
		
		return newCourse;
	}
	
	public void modifyCourse(Course course)
	{
		
	}

}
